.classification{
    width: 100%;
    height: auto ;
    margin-top: 20px;
}
.sub-list{
    background: #fff;
    margin: 0 auto;
    width: 1240px;
    margin: 0 auto;
    h3{
        font-size: 28px;
        color: #666;
        font-weight: 400;
        text-align: center;
        line-height: 100px;
    }
    ul{
        display: flex;
        padding: 0 32px;
        flex-wrap: wrap;
        min-height: 160px;
        li{
            width: 168px;
            height: 160px;
            img{
                width: 100px;
                height: 100px;
            }
            p{
                line-height: 40px;
                font-size: 16px;
            }
        }
    }
}
.ref-goods{
    margin: 20px auto;
    width: 1240px;
    background-color: #fff;
    margin-top: 20px;
    position: relative;
    .head{
        width: 1240px;
        height: 128px;
        h3{
            font-size: 28px;
            color: #666;
            font-weight: 400;
            text-align: center;
            line-height: 100px;
        }
        p{
            text-align: center;
            color: #999;
            font-size: 20px;
            position: relative;
            top: -20px;
        }
        .spans{
            position: absolute;
            top: 20px;
            right: 20px;
            span{
                font-size: 16px;
                vertical-align: middle;
                margin-right: 4px;
                color: #999;
            }
        }
    }
    .body{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 0 65px 30px;
        span{
            box-sizing: border-box;
            display: inline-block;
            width: 220px;
            padding: 20px 30px;
            text-align: center;
            transition: all .5s;
            &:hover{
                box-shadow: 0 0 20px rgb(146, 146, 146);
                // background: #000;
                // margin-bottom: 10px;
                transform:translate(0,-8px)
            }
            img{
                width: 160px;
                height: 160px;
            }
            p{
                font-size: 16px;
                padding-top: 10px;
                &:nth-of-type(1){
                    white-space:nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    color: #000;
                }
                &:nth-of-type(2){
                    color: #999;
                    text-overflow: ellipsis;
                    white-space:nowrap;
                    overflow: hidden;
                    height: 29px;
                    font-size: 14px;
                }
                &:nth-of-type(3){
                    color: #cf4444;
                    font-size: 20px;
                }
            }
        }
    }
}